package com.newtouch.avmarketing.api.service.impl;

import com.newtouch.avmarketing.api.model.DoubleIndexDto;
import com.newtouch.avmarketing.api.repo.DoubleConfigurationIndexRepo;
import com.newtouch.avmarketing.api.service.DoubleConfigurationIndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DoubleConfigurationIndexServiceImpl implements DoubleConfigurationIndexService {

    @Autowired
    private DoubleConfigurationIndexRepo doubleConfigurationIndexRepo;
    @Override
    public DoubleIndexDto findDoubleIndexDto(Long id) {
        return doubleConfigurationIndexRepo.findDoubleIndexDto(id);
    }
}
